home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / pc / Shout3Ddemo / Shout3d_runtime / codebase / models / elevationGridTest.wrl < prev    next >
Text File  |  2000-06-17  |  2KB  |  115 lines

  1. #VRML V2.0 utf8
  2. Transform {
  3.     children [
  4.         Shape {
  5.             appearance Appearance {
  6.                 material Material { diffuseColor 1 1 1}
  7.                 texture ImageTexture {
  8.                     url "images/moddunk/prop_generic.gif"
  9.                 }
  10.             }
  11.             geometry ElevationGrid {
  12.                 xDimension 5
  13.                 zDimension 10
  14.                 xSpacing 25
  15.                 zSpacing 10
  16.                 height [
  17.                     10  0 0 30 30
  18.                     10  0 0 30 30
  19.                      0  0 0  0  0
  20.                      0  0 0  0  0
  21.                      0  0 0  0  0
  22.                      0  0 0  0  0
  23.                      5  0 0 10 10
  24.                     10  0 0 10 20
  25.                     20  0 0 10 20
  26.                     40  0 0 10 20
  27.                 ]                
  28.             }
  29.         }
  30.     ]
  31. }
  32. Transform {
  33.     translation 100 0 0 
  34.     children [
  35.         Shape {
  36.             appearance Appearance {
  37.                 material Material { diffuseColor 1 1 1}
  38.             }
  39.             geometry ElevationGrid {
  40.                 xDimension 5
  41.                 zDimension 10
  42.                 xSpacing 25
  43.                 zSpacing 10
  44.                 height [
  45.                     10  0 0 30 30
  46.                     10  0 0 30 30
  47.                      0  0 0  0  0
  48.                      0  0 0  0  0
  49.                      0  0 0  0  0
  50.                      0  0 0  0  0
  51.                      5  0 0 10 10
  52.                     10  0 0 10 20
  53.                     20  0 0 10 20
  54.                     40  0 0 10 20
  55.                 ]                
  56.                 colorPerVertex FALSE
  57.                 color Color { color [
  58.                         1 0 0, 1 1 0, 0 1 1, 1 0 1,
  59.                         1 1 0, 0 1 1, 1 0 1, 1 0 0, 
  60.                         0 1 1, 1 0 1, 1 0 0, 1 1 0, 
  61.                         1 0 1, 1 0 0, 1 1 0, 0 1 1, 
  62.                         1 0 0, 1 1 0, 0 1 1, 1 0 1,
  63.                         1 1 0, 0 1 1, 1 0 1, 1 0 0, 
  64.                         0 1 1, 1 0 1, 1 0 0, 1 1 0, 
  65.                         1 0 1, 1 0 0, 1 1 0, 0 1 1, 
  66.                         1 0 0, 1 1 0, 0 1 1, 1 0 1,
  67.                     ]
  68.                 }
  69.             }
  70.         }
  71.     ]
  72. }
  73. Transform {
  74.     translation 0 0 100 
  75.     children [
  76.         Shape {
  77.             appearance Appearance {
  78.                 material Material { diffuseColor 1 1 1}
  79.             }
  80.             geometry ElevationGrid {
  81.                 xDimension 5
  82.                 zDimension 10
  83.                 xSpacing 25
  84.                 zSpacing 10
  85.                 height [
  86.                     10  0 0 30 30
  87.                     10  0 0 30 30
  88.                      0  0 0  0  0
  89.                      0  0 0  0  0
  90.                      0  0 0  0  0
  91.                      0  0 0  0  0
  92.                      5  0 0 10 10
  93.                     10  0 0 10 20
  94.                     20  0 0 10 20
  95.                     40  0 0 10 20
  96.                 ]                
  97.                 colorPerVertex TRUE
  98.                 color Color { color [
  99.                         1 0 0, 1 1 0, 0 1 1, 1 0 1, 0 0 1,
  100.                         1 1 0, 0 1 1, 1 0 1, 0 0 1, 1 0 0, 
  101.                         0 1 1, 1 0 1, 0 0 1, 1 0 0, 1 1 0, 
  102.                         1 0 1, 0 0 1, 1 0 0, 1 1 0, 0 1 1, 
  103.                         0 0 1, 1 0 0, 1 1 0, 0 1 1, 1 0 1, 
  104.                         1 0 0, 1 1 0, 0 1 1, 1 0 1, 0 0 1,
  105.                         1 1 0, 0 1 1, 1 0 1, 0 0 1, 1 0 0, 
  106.                         0 1 1, 1 0 1, 0 0 1, 1 0 0, 1 1 0, 
  107.                         1 0 1, 0 0 1, 1 0 0, 1 1 0, 0 1 1, 
  108.                         0 0 1, 1 0 0, 1 1 0, 0 1 1, 1 0 1, 
  109.                     ]
  110.                 }
  111.             }
  112.         }
  113.     ]
  114. }
  115.